package com.demo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 诉求实体类
 */
@Data
@TableName("request")
public class Request {
    
    @TableId(type = IdType.AUTO)
    private Long requestId;
    
    private Long userId;
    
    private String userType; // STUDENT, TEACHER
    
    private String userName;
    
    private String requestType; // GRADE, COURSE, SCHEDULE, OTHER
    
    private String title;
    
    private String content;
    
    private String attachment;
    
    private String status; // PENDING, PROCESSING, RESOLVED, REJECTED
    
    private String priority; // LOW, NORMAL, HIGH, URGENT
    
    private Long adminId;
    
    private String adminName;
    
    private String adminReply;
    
    private LocalDateTime submitTime;
    
    private LocalDateTime processTime;
    
    private LocalDateTime resolveTime;
    
    private String semester;
    
    private Long relatedCourseId;
    
    private String relatedCourseName;
    
    private String remark;
}

